from fastapi_utils.api_model import APIModel

from tifa.apps.admin import bp


class TWarehouse(APIModel):
    id: str
    name: str


@bp.list(
    "/ware_houses",
    out=TWarehouse,
    summary="WareHouse",
    tags=["WareHouse"],
)
async def webhook_list():
    return []


@bp.item(
    "/ware_house",
    out=TWarehouse,
    summary="WareHouse",
    tags=["WareHouse"],
)
async def webhook_item():
    return []
